package com.blog.question.note1;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 未绪~.
 * @func ${PROJECT_NAME}.
 * @date 2017/10/31 12:46.
 */
public class TestQuestionOne {

    public static void main(String[] args) {

        UserInfo userInfo = new UserInfo();
        userInfo.setCreateTime(new Timestamp(new Date().getTime()));

        System.out.println(userInfo.getCreateTime());

        System.out.println("");
        List list = new ArrayList();

        for (int i = 0; i < list.size(); i++) {

        }

    }

}

class UserInfo implements Serializable {

    private static final long serialVersionUID = -9164765814868887767L;

    private Timestamp createTime;

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}